package com.qianxun.framework.util.http;

/**
 * 上传文件信息
 *
 * @author: huwei
 * @date: 2019/9/18 15:42
 * @version: 1.0.0
 */
public class UploadFileInfo {
    /**
     * 接口参数名
     */
    private String uploadParameterName;
    /**
     * 待上传文件保存名称
     */
    private String fileName;
    /**
     * 文件字节
     */
    private byte[] file;
    /**
     * 请求类型
     */
    private String contentType;

    public UploadFileInfo(String uploadParameterName, String fileName, byte[] file, String contentType) {
        this.uploadParameterName = uploadParameterName;
        this.fileName = fileName;
        this.file = file;
        this.contentType = contentType;
    }

    public String getUploadParameterName() {
        return uploadParameterName;
    }

    public String getFileName() {
        return fileName;
    }

    public byte[] getFile() {
        return file;
    }

    public String getContentType() {
        return contentType;
    }
}
